/**
 * Created by wsx on 2017/1/5.
 */
$(function(){
    $('#logout').click(function () {
        $.ajax({
            type: "POST",
            url: "/logout",
            dataType :"text",
            success: function (data) {
                if("true" == data) {
                    location.reload();
                }
            }
        });
    });
});
